package com.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.utils.PageUtils;
import com.gulimall.product.entity.CategoryEntity;
import com.gulimall.product.vo.web.Catelog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author Lyangvo
 * @email 2210749431@qq.com
 * @date 2023-10-14 13:44:55
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removeMenuByIds(List<Long> asList);

    Long[] findCatelogPath(Long attrGroupId);

    void updateDetail(CategoryEntity category);

    List<CategoryEntity> getLevel1Categorys();


    Map<Object, List<Catelog2Vo>> getCatalogJson();


}

